<extend name="Public/layoutMessage" />
<block name="title"><{$msgTitle}></block>
<block name="CSS"><link href="__PUBLIC__/Admin/css/pages/error.css" rel="stylesheet" type="text/css"/></block>
<block name="page">
<div class="row">
	<div class="col-md-12 page-500">
	<?php if(isset($message)) {?>
	<div class=" number">YES</div>
	<div class=" details">
		<h3><?php echo($message); ?></h3>
	<?php }else{?>
	<div class=" number">NO</div>
	<div class=" details">
		<h3><?php echo($error); ?></h3>
	<?php }?>
		<p>页面将在 <b id="wait"><?php echo($waitSecond); ?></b> 秒钟后自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a><br/>
		&nbsp;<br/><br/></p>
	</div>
	</div>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>	
</block>